package com.pinda.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pinda.auth.entity.PdAuthMenu;

import java.util.List;

/**
 * <p>
 * 菜单 Mapper 接口
 * </p>
 *
 * @author 黄杰
 * @since 2023-06-14
 */
public interface PdAuthMenuMapper extends BaseMapper<PdAuthMenu> {
    /**
     * 根据角色id查询具有的菜单
     * @param roleId
     * @return List<PdAuthMenu>
     */
    List<PdAuthMenu> findRoleByIdMenu(String roleId);
}
